package spzx.product.mapper;

import com.atguigu.spzx.model.dto.h5.ProductSkuDto;
import com.atguigu.spzx.model.entity.product.Product;
import com.atguigu.spzx.model.entity.product.ProductDetails;
import com.atguigu.spzx.model.entity.product.ProductSku;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {

    List<ProductSku> getProductSkuList();

    List<ProductSku> findSkuList(ProductSkuDto productSkuDto);

    ProductSku getProductSkuBySkuId(Long skuId);

    Product getProductById(Long productId);

    ProductDetails getProductDetailsByProductId(Long productId);

    List<ProductSku> getProductSkuListByProductId(Long productId);
}
